#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include <QNetworkAccessManager>

namespace Ui {
class Login;
}

class LoginThread;
class Login : public QDialog
{
    Q_OBJECT
    
public:
    explicit Login(QWidget *parent = 0);
    ~Login();
    
public:
    void    disableControls(bool b);

public slots:
    void    login();
    void    finished(QNetworkReply * reply);

private:
    Ui::Login *                     ui;
    QNetworkAccessManager*          m_manager;
};

#endif // LOGIN_H
